{template 'header'}
<!--当前位置-->
<div class="location layout960">
	当前位置: <a href="{SITE_URL}">首页</a>&nbsp; »&nbsp; <a href="{url('auto/ownersList')}">车主圈</a>
</div>
<!--当前位置 end-->
<!--主体部分-->
<div class="main layout960">
<div class="main-head-blue">
	<h2>车主圈</h2>
	<a href="{url('member/my')}?mid=32">我要加入车主圈</a>
</div>
<!--main-body-border start-->
<div class="main-body border">
<!--cat-property start-->
<div class="cat-property">
	{template 'car_level', 'filter'}
	{template 'car_brand', 'filter'}
	{template 'car_car', 'filter'}
	{template 'car_model', 'filter'}
	{template 'cat_area', 'filter'}
</div>
<!--cat-property end-->
	{if $showCarfilter}
	{template 'sel_car', 'filter'}
	{/if}
	{if $areaid}
	{template 'sel_area', 'filter'}
	{/if}
<!--过滤-->
	<div class="filter fn-clear" >
		<div class="filter-hd fn-clear">
			<h3 class="fn-left">所有车主</h3>
			<div class="page-top fn-right fn-clear">
				<div class="fn-left">当前共有<span>{$total}</span>位车主</div>
				{if $total}
				<span>{php echo $do->getPn()->getPage()}/{php echo $do->getPn()->getPages()}</span>
				{php echo $do->getPn()->getPrev()}
				{php echo $do->getPn()->getNext()}
				{/if}
			</div>
	</div>
<!--过滤 end-->
<!--搜索结果-->
<div class="layout-inner mt10 fn-clear">
<div class="layout-inner-1of2 fn-left">
<ul class="result-list">
	{if $total}
	{loop $tags $item}
    <li class="fn-clear">
        <span class="owner-img bd fn-left" ><img src="{$item[thumb]}"></span>
        <div class="owner-des fn-left">
            <h4 class="cblue">{$item[truename]}</h4>
            <dl class="fn-clear">
                <dt>我的爱车：</dt>
	            {loop $item['modelinfo'] $k=>$v}
	            <dd><a class="c666" href="{url('auto/model', 'modelid='.$v['amid'])}" title="{$v['name']}" target="_blank">
		            {$item['carinfo'][$k]['name']} {$v['name']}
                </a></dd>
	            {/loop}
            </dl>
	        {if $item['likecar']}
            <dl class="fn-clear">
                <dt>我最近关注的车型：</dt>
	            {loop $item['likecar'] $v}
                    {if $v['model']}
	                <dd><a class="c666" href="{url('auto/car', 'carid='.$v['amid'])}" title="{$v['model']['name']}" target="_blank">
		                 {$v['car']['name']} {$v['model']['name']}
	                 </a></dd>
	            {/if}
	            {/loop}
            </dl>
	        {/if}
        </div>
        <div class="owner-loc fn-left">
	        {loop $item['areaname'] $v}
	            {if $v!='国内'}
	                {$v}
	            {/if}
	        {/loop}
        </div>
        <div class="owner-oper fn-right">
            <a href="{url('member/friend', 'action=add&username='.$item['username'])}" >加为好友</a>
            <a href="{url('member/message', 'action=send&touser='.$item['username'])}" target="_blank">发信息</a>
        </div>
    </li>
	{/loop}
	{else}
	{template 'noresult', 'message'}
	{/if}
</ul>
{php $pn = $do->getPn()}
{template 'pager', 'inc'}
</div>
	<div class="fn-right">
	<iframe src="{SITE_URL}extend/fragment.php?modules=traffic&psize=10"  scrolling="no" frameborder="0" height='303'></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=learn&psize=10"  scrolling="no" frameborder="0" height='303' ></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=news&psize=10"  scrolling="no" frameborder="0" height='303'></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=video&psize=6"  scrolling="no" frameborder="0" height='383'></iframe>
	<iframe src="{SITE_URL}extend/fragment.php?modules=top&psize=10"  scrolling="no" frameborder="0" height='343'></iframe>
	</div>
<!--2of2 end-->
</div>
<!--搜索结果 end-->
</div>
<!--main-body-border end-->
</div>
<!--主体部分 end-->
{template 'footer'}